home *** CD-ROM | disk | FTP | other *** search
- Path: esb.bbn.com!user
- From: rshapiro@bbn.com (R Shapiro)
- Newsgroups: comp.sys.mac.programmer.codewarrior,comp.lang.c++
- Subject: Re: using a template parameter as a qualifier -- legal or not?
- Date: Tue, 06 Feb 1996 17:11:13 -0500
- Organization: BBN
- Message-ID: <rshapiro-0602961711130001@esb.bbn.com>
- References: <rshapiro-0602961258310001@esb.bbn.com> <3117C2B0.41C6@tiger.physics.utoronto.ca>
- NNTP-Posting-Host: esb.bbn.com
-
- In article <3117C2B0.41C6@tiger.physics.utoronto.ca>, Andrew Datars
- <datars@tiger.physics.utoronto.ca> wrote:
-
- >R Shapiro wrote:
- >>
- >> I'd like to use the formal argument to a template as the qualifier of a
- >> qualified typename within the template. This doesn't work in CodeWarrior
- >> 8, it does work in VC++ 4.0, and I can't tell from ARM whether or not it
- >> *should* work.
- >> [example, deleted]
- >
-
-
- > I have not used CodeWarrior. So
- >I can't really comment on your question directly. I know that
- >for most compilers the above DOES work.
-
- My first question is, *should* this work, ie is it legal according to the
- more or less official C++ standard? I can't tell from my reading of ARM
- and the relevant portions of the draft standard. What's your take?
-
- The fact that other compilers support it isn't quite what I'm after, since
- some compilers support things that are definitely not following the
- standard. If this is a bug in CodeWarrior, I'll report it and Metrowerks
- will probably fix it. But I still don't know if it really is a bug or not.
-
- --
- rs/rshapiro@bbn.com
-